﻿namespace FFF.Test.Util.Denpends
{
    using System;
    using System.Collections.Generic;
    using System.Text;
    using Microsoft.Extensions.Configuration;
    using Microsoft.Extensions.Primitives;

    /// <summary>
    /// 为了构造abp的依赖注入 具体没啥用
    /// </summary>
    public class MyConfigForDenpends : IConfiguration
    {
        /// <summary>
        /// 通过索引获取
        /// </summary>
        /// <param name="key">对应的key</param>
        /// <returns>对应的值</returns>
        public string this[string key]
        {
            get
            {
                return null;
            }
            set => throw new NotImplementedException();
        }

        /// <summary>
        /// 获取子类
        /// </summary>
        /// <returns>集合</returns>
        public IEnumerable<IConfigurationSection> GetChildren()
        {
            throw new NotImplementedException();
        }

        /// <summary>
        /// 获取section
        /// </summary>
        /// <param name="key">key</param>
        /// <returns>section</returns>
        public IConfigurationSection GetSection(string key)
        {
            throw new NotImplementedException();
        }

        /// <summary>
        /// 获取toke
        /// </summary>
        /// <returns>config</returns>
        IChangeToken IConfiguration.GetReloadToken()
        {
            throw new NotImplementedException();
        }
    }
}
